home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global slide, fromFrame, fromMovie
- cursor(-1)
- set fromFrame to EMPTY
- set fromMovie to EMPTY
- set slide to 0
- hideMusicMenu()
- hideMaxMenu()
- puppetSound(0)
- updateStage()
- replayMusic()
- end
-
- on testRollOverButton
- if rollOver(11) then
- disabilitaAltri(11, 11, 17)
- flashRoller(11, 2, EMPTY)
- else
- if rollOver(12) then
- disabilitaAltri(12, 11, 17)
- flashRoller(12, 4, EMPTY)
- else
- if rollOver(13) then
- disabilitaAltri(13, 11, 17)
- flashRoller(13, 6, EMPTY)
- else
- if rollOver(14) then
- disabilitaAltri(14, 11, 17)
- flashRoller(14, 8, EMPTY)
- else
- if rollOver(15) then
- disabilitaAltri(15, 11, 17)
- flashRoller(15, 10, EMPTY)
- else
- if rollOver(16) then
- disabilitaAltri(16, 11, 17)
- flashRoller(16, 12, EMPTY)
- else
- if rollOver(17) then
- disabilitaAltri(17, 11, 17)
- flashRoller(17, 14, EMPTY)
- else
- disabilitaTutto(11, 17)
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on flashRoller whichSprite, numCast, scriptToExecute
- puppetSprite(whichSprite, 1)
- set myCast to numCast
- set the memberNum of sprite whichSprite to myCast + 1
- updateStage()
- do(scriptToExecute)
- end
-
- on disabilitaTutto inf, sup
- repeat with i = inf to sup
- puppetSprite(i, 0)
- set the cursor of sprite i to -1
- end repeat
- end
-
- on abilitaTutto inf, sup
- repeat with i = inf to sup
- puppetSprite(i, 1)
- end repeat
- end
-
- on disabilitaAltri whichSprite, inf, sup
- repeat with i = inf to sup
- if i <> whichSprite then
- puppetSprite(i, 0)
- end if
- end repeat
- end
-
- on notAvaRollOverButton
- if rollOver(11) then
- disabilitaAltri(11, 11, 17)
- flashRoller(11, 2, EMPTY)
- else
- if rollOver(13) then
- disabilitaAltri(13, 11, 17)
- flashRoller(13, 6, EMPTY)
- else
- if rollOver(14) then
- disabilitaAltri(14, 11, 17)
- flashRoller(14, 8, EMPTY)
- else
- if rollOver(15) then
- disabilitaAltri(15, 11, 17)
- flashRoller(15, 10, EMPTY)
- else
- if rollOver(16) then
- disabilitaAltri(16, 11, 17)
- flashRoller(16, 12, EMPTY)
- else
- if rollOver(17) then
- disabilitaAltri(17, 11, 17)
- flashRoller(17, 14, EMPTY)
- else
- disabilitaTutto(11, 17)
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on notIndRollOverButton
- if rollOver(12) then
- disabilitaAltri(12, 11, 17)
- flashRoller(12, 4, EMPTY)
- else
- if rollOver(13) then
- disabilitaAltri(13, 11, 17)
- flashRoller(13, 6, EMPTY)
- else
- if rollOver(14) then
- disabilitaAltri(14, 11, 17)
- flashRoller(14, 8, EMPTY)
- else
- if rollOver(15) then
- disabilitaAltri(15, 11, 17)
- flashRoller(15, 10, EMPTY)
- else
- if rollOver(16) then
- disabilitaAltri(16, 11, 17)
- flashRoller(16, 12, EMPTY)
- else
- if rollOver(17) then
- disabilitaAltri(17, 11, 17)
- flashRoller(17, 14, EMPTY)
- else
- disabilitaTutto(11, 17)
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on idle
- testMusicRollover()
- testMaxRollover()
- testQuitRollover()
- end
-